<?php
class FrmAdmin{
	private $setter;
	private $iconBox;
	private $divContent;
		
	function FrmAdmin(){
		$this->setter=new Setter("../../Config");
		
		$this->iconBox=new IconBox("48","48","4","4","yes","container","icon");
		$this->iconBox->addIcon("ThemesAdmin", "ThemesAdmin", "themes", "themes", "Temas", "../../Themes/".$this->setter->getTheme()."/Images/themes.png", "cambie el aspecto de SCI","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		$this->iconBox->addIcon("DBServerAdmin", "DBServerAdmin", "DBServer", "DBServer", "DBServer", "../../Themes/".$this->setter->getTheme()."/Images/DBServer.png", "Cambie la configuración de la base de datos","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		$this->iconBox->addIcon("UsersAdmin", "UsersAdmin", "Users", "Users", "Usuarios", "../../Themes/".$this->setter->getTheme()."/Images/users.png", "Configuración de usuarios","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		$this->iconBox->addIcon("CompanyAdmin", "CompanyAdmin", "company", "company", "Compañia", "../../Themes/".$this->setter->getTheme()."/Images/company.png", "Cambiar datos de la compañía","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));		
		$this->iconBox->addIcon("RolesAdmin","RolesAdmin","Roles","Roles","Roles","../../Themes/".$this->setter->getTheme()."/Images/roles.png","Administre los roles de usuario","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		$this->iconBox->addIcon("EntityTypes","EntityTypes","EntityTypes","EntityTypes","Tipos","../../Themes/".$this->setter->getTheme()."/Images/entityTypes.png","Administre los tipo de personas legales","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		$this->iconBox->addIcon("Courts","Courts","Courts","Courts","Juzgados","../../Themes/".$this->setter->getTheme()."/Images/courts.png","Administre la lista de Juzgados disponibles","button",array("onClick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmAdmin.php')"));
		
		$this->divContent=new Div("adminContent","adminContent","content2",array());
	}
	function show(){
		$this->iconBox->show(1,7);
		$this->divContent->start();
		
		$this->divContent->end();
		
	}
}
?>